package com.kingdee.eas.minghua.trademanage;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class WarrantyE2Factory
{
    private WarrantyE2Factory()
    {
    }
    public static com.kingdee.eas.minghua.trademanage.IWarrantyE2 getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.minghua.trademanage.IWarrantyE2)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("25005E2F") ,com.kingdee.eas.minghua.trademanage.IWarrantyE2.class);
    }
    
    public static com.kingdee.eas.minghua.trademanage.IWarrantyE2 getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.minghua.trademanage.IWarrantyE2)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("25005E2F") ,com.kingdee.eas.minghua.trademanage.IWarrantyE2.class, objectCtx);
    }
    public static com.kingdee.eas.minghua.trademanage.IWarrantyE2 getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.minghua.trademanage.IWarrantyE2)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("25005E2F"));
    }
    public static com.kingdee.eas.minghua.trademanage.IWarrantyE2 getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.minghua.trademanage.IWarrantyE2)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("25005E2F"));
    }
}